-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.5.1
-
Code
-
Classes
- FileSystemController
| Total Complexity |
101 |
| Dependencies |
6 |
| Dependents |
2 |
| Total lines |
570 |
| Lines of code |
340 |
| Logical lines of code |
202 |
| Comment lines |
119 |
| Methods |
25 |
| Properties |
3 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| pathToUrl() |
B |
40 |
21 |
54 |
| getBackupDirectory() |
A |
48 |
10 |
32 |
| pathIsUrl() |
S |
61 |
9 |
10 |
| getMediaImage() |
S |
56 |
7 |
18 |
| returnOldSubDir() |
S |
52 |
6 |
23 |
| downloadFile() |
S |
49 |
4 |
32 |
| flushImage() |
S |
60 |
5 |
13 |
| sortFiles() |
S |
58 |
4 |
16 |
| getWPAbsPath() |
S |
59 |
4 |
14 |
| getCustomImage() |
S |
62 |
4 |
12 |
| url_exists() |
S |
57 |
3 |
18 |
| getImage() |
S |
59 |
3 |
16 |
| getFilesRecursive() |
S |
61 |
3 |
13 |
| getWPFileBase() |
S |
61 |
3 |
12 |
| checkURL() |
S |
64 |
3 |
10 |
| startTrustedMode() |
S |
70 |
2 |
7 |
| endTrustedMode() |
S |
70 |
2 |
7 |
| __construct() |
S |
80 |
1 |
3 |
| getFile() |
S |
80 |
1 |
3 |
| flushImageCache() |
S |
74 |
1 |
5 |
| getCustomStub() |
S |
73 |
1 |
5 |
| getOriginalImage() |
S |
72 |
1 |
5 |
| getDirectory() |
S |
80 |
1 |
3 |
| getWPUploadBase() |
S |
74 |
1 |
4 |
| checkBackUpFolder() |
S |
73 |
1 |
5 |